package com.bezdelnick.forum.web.panel;

import com.bezdelnick.forum.web.page.ModeratorPage;
import com.bezdelnick.forum.web.page.ShowUsersListPage;
import org.apache.wicket.markup.html.link.BookmarkablePageLink;
import org.apache.wicket.markup.html.panel.Panel;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * Created by IntelliJ IDEA.
 * User: Bezdelnick
 * Date: 23.08.12
 * Time: 1:14
 * To change this template use File | Settings | File Templates.
 */
public class ModeratorMainMenuPanel extends Panel {
    private static final Logger LOGGER = LoggerFactory.getLogger(ModeratorMainMenuPanel.class);

    public ModeratorMainMenuPanel(String id) {
        super(id);

        BookmarkablePageLink gotoListQuestions = new BookmarkablePageLink("goto_list_questions", ModeratorPage.class);
        add(gotoListQuestions);

        BookmarkablePageLink gotoListUsers = new BookmarkablePageLink("goto_list_users", ShowUsersListPage.class);
        add(gotoListUsers);
    }
}
